<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html lang="en">
  <head>
  	<meta charset="utf-8">
    <title>缓存管理</title>
	<%@ include file="/page/common/common.jsp" %>	
	<%@ include file="/page/common/bootstrap.jsp" %>
	
    <script type="text/javascript">
    	function statEterm(){
    		location.href="${ctx}/sys/sysconfig/statEterm.sys";
    	}
	</script>	
  </head>
  
  <body>
	  <div class="container">
	  	
	  		<h4 class="htitle">查看Eterm配置</h4>

    		<div class="well">
    			<table class="table">
    				<thead>
    					<tr>
    						<th>#</th>
    						<th>配置</th>
    						<th>工作号</th>
    						<th>密码</th>
    						<th>级别</th>
    						<th>累计发送指令数</th>
    					</tr>
    				</thead>
    				<tbody>
    					<c:forEach items="${list}" var="eterm" varStatus="s">
    					<tr>
    						<td>${s.count}</td>
    						<td>${eterm.etermConfigName}</td>
    						<td>${eterm.configWorkCode}</td>
    						<td>${eterm.configWorkPass}</td>
    						<td>${eterm.configWorkLevel}</td>
    						<td>${eterm.cmdNum}</td>
    					</tr>
    					</c:forEach>
    				</tbody>
    			</table>
    			<div class="control-group">
					<div class="controls">
						<button type="button" class="btn btn-info" onclick="statEterm();"><i class="icon-white icon-search"></i>查询Eterm统计</button>
					</div>
				</div>	
    		</div>
	    </div><!-- end container -->	 
  </body>
</html>
